Skip to content

Fix positive_eq_hull_preimage_singleton and move homogenize_top - #84

Merged
martinwintermath merged 3 commits into
ooovi:mainfrom
mo271:fix-positive-hull
Sep 4, 2026
Merged

Fix positive_eq_hull_preimage_singleton and move homogenize_top#84
martinwintermath merged 3 commits into
ooovi:mainfrom
mo271:fix-positive-hull

Conversation

@mo271

@mo271 mo271 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

The equality f.positive = hull R (f ⁻¹' {c}) was false as stated: it fails for c < 0 (the hull lies on the nonpositive side of f) and over semirings without division (R = ℕ, f = id, c = 2). It is now stated with 0 < c over linearly ordered fields and proven. The inequality direction hull_le_positive_of_subset_preimage_singleton keeps its original generality with 0 < c and a direct proof.

homogenize_top relied on the false equality and is itself false over general ordered rings (R = ℤ[ε]); it moves to the Field section, now proven.

The equality `f.positive = hull R (f ⁻¹' {c})` was false as stated: it fails
for `c < 0` (the hull lies on the nonpositive side of `f`) and over semirings
without division (`R = ℕ`, `f = id`, `c = 2`). It is now stated with `0 < c`
over linearly ordered fields and proven. The inequality direction
`hull_le_positive_of_subset_preimage_singleton` keeps its original generality
with `0 < c` and a direct proof.

`homogenize_top` relied on the false equality and is itself false over general
ordered rings (`R = ℤ[ε]`); it moves to the `Field` section, now proven.
@mo271

mo271 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Not sure how the false statement became part of that file, likely a botched generalisation or something?

Comment thread Polyhedral/Mathlib/Geometry/Convex/Cone/Pointed/LinearMap.lean
Comment thread Polyhedral/Mathlib/Geometry/Convex/ConvexSpace/Set/Homogenization.lean Outdated
…ion.lean

Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@mo271
mo271 requested a review from YaelDillies September 2, 2026 19:37
@mo271
mo271 requested a review from YaelDillies September 4, 2026 06:10

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mo271

mo271 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

@martinwintermath

@martinwintermath
martinwintermath merged commit e4837b7 into ooovi:main Sep 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants